<template>
  <div class="pie">
    <ly-pie
    :settings="settings"
    :chartData="{
      columns: ['time','value'],
      rows: [
        {time: 'Mon',value:'111'},
        {time: 'Tue',value:'123'},
        {time: 'Wed',value:'165'},
        {time: 'Thu',value:'134'},
        {time: 'Fri',value:'193'},
        {time: 'Sat',value:'152'},
        {time: 'Sun',value:'122'}
      ]
    }"
    ></ly-pie>
  </div>
</template>

<script>
export default {
  name:'PieDemo',
  data(){
    this.settings = {
      theme: 'shine',
      name: '圆饼图',
      selected: 'single',
      radius: [['0%','20%'],['35%','40%'],['45%','50%']],
      center: ['20%','40%'],
      roseType: 'radius',
      more:[
        ['Mon','Tue'],
        ['Mon','Tue','Wed','Thu'],
        ['Mon','Tue','Wed','Thu','Fri','Sun'],
      ]
    }
    return{}
  }
}
</script>

<style>

</style>